package cn.yhbk.web.modules.manager.Mapper;

import cn.yhbk.web.modules.manager.Pojo.Entity.TbCollege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 学院表 Mapper 接口
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@Mapper
@Repository
public interface TbCollegeMapper extends BaseMapper<TbCollege> {

    TbCollege queryCollegeById(Long id);

    Boolean insertCollege(TbCollege tbCollege);

    Boolean updateClassById(TbCollege tbCollege);

    Boolean deleteCollegeById(Long id);
    
    Integer queryTotalNum();

    List<TbCollege> queryCollegePage(int i, Integer pageSize);
}
